package org.hxd.user.service;

import org.hxd.pojo.User_inf;
import org.hxd.units.PageModel;

import java.util.List;

public interface UserService {
    //登录查询
    User_inf query_User(User_inf user_inf);
    //分页查询
    List<User_inf> findUser(User_inf user_inf, PageModel pageModel);

    int findUserCount(User_inf user_inf);
    //根据id查询用户
    User_inf findUserByid(Integer id);
    //修改用户信息
    int modifyUser(User_inf user_inf);
    //添加用户
    int addUser(User_inf user_inf);
    //用户删除
    int removeUser(Integer[] ids);
    //添加用户判断
    User_inf findUserByname(String loginname);
}
